<?xml version="1.0" encoding="utf-8" ?>
<!--Example of dictionary-->
<!--This is example of dictionary of simple type-->
<!--Some information about this schema can be found in file with definition of this schema - DictionarySimple.xsd-->
<!--
    Note: Although this type of dictionary is called 'simple' it is much more complex than the other (called 'indexed' or 'database-like').
    Simple means that this type of dictionary is usefull ONLY for importing dictionaries that wos previously stored in very simple form of table with pairs of words and some notes to it.
    This can be e.g. table in MS Excel or MS Word. See Hrvatski Jezik.xls (can be found in ĐŘječnik source codes) for example.
-->
<Dictionary xmlns="http://dzonny.cz/xml/DictionarySimple" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://dzonny.cz/xml/DictionarySimple http://dzonny.cz/xml/DictionarySimple.xsd"><!--Compulsory root element, schema can be downloaded from specified URI-->
    <!--Copmulsory information-->
    <info
        English1="Czech"
        English2="Russian"
        Lang1Code="cz"
        Lang2Code="hr"
        Native1="Čeština"
        Native2="Hrvatski"
        Other1="Češki"
        Other2="Chorvatština"
        ICO="CZHR.ico"
        Name1="Česko - Chorvatský / Chorvatsko - Český slovík"
        Name2="Hrvatsko - Češki / Češko Hrvatski rječnik"
        NameE="Croatian - Czech / Czech - Croatian dictionary"
        Version="0.0.0.0"
        Date="2007-03-09"
    >
        <!--Defines that this is primary dictionary for this pair of languages-->
        <Primary ICO1="CZ.ico" ICO2="HR.ico"/>
        <!--Compulsory information about author of XML form of the dictionary-->
        <author
            nick="Đonny"
            FirstName="Jan"
            LastName="Záruba"
            e-mail="dzonny@dzonny.dz"
                www="http://dzonny.cz"
                note="Poznámka"/>
        <!--Note and www is not compulsory-->
        <!--Optional information about author of original dictionary (if differs from <author>-->
        <original
            nick="Dubravka Sesar"
            FirstName="Dubravka"
            LastName="Sesar"
            e-mail="dsesar@ffzg.hr"
                www="http://www.ffzg.hr/slaven/bohemist/hrsesar.htm"
            source="Chorvatsko - český a česko - chorrvatský slovník, Monatex 2004"
                note="Poznámka"/>
        <!--Note and www is not compulsory-->
    </info>

    <!--As much as needed <pair>s follows-->
    
    <!--Defines one translation pair-->
    <pair>
        <!--Pair contains 1 or more <W1>s (words in language 1)-->
        <W1 N="Auto" type="noun" L="Auto"/>
        <!--and 1 or more <W2>s (words in language 2)-->
        <W2 N="Vozilo" type="noun"><!--Each <W1> or <W2> have the N attribute - its text and optionally the L attribute (text in latin if N is not in latin) and optionally the type attribute defining its kind (noun, verb etc.)-->
            <!--Each <W1> and <W2> alco can have note-->
            <note>a, s</note>
            <!--and relation-->
            <rel rel="seealso"><!--the rel attribute defines kind of relationship-->
                <!--There are two ways how to establish a relation-->
                <!--Firs way uses the <rel> element-->
                <relw word="auto"/><!--which have only one attribute - word which's walue reffers to possibly-existing word-->
            </rel>
        </W2>
    </pair>
    <pair>
        <W1 N="stopa" type="noun"/>
        <W1 N="slépěj" type="noun"/>
        <W2 N="trag" type="noun">
            <rel rel="phrase">
                <!--The other way is the <relatedword> element-->
                <relatedword><!--which's content is the same as content of the <pair> element-->
                    <!--that means thet related words are definned here-->
                    <W1 N="není po něm vidu ani slechu"/>
                    <W2 N="nema mu ni traga ni glasa"/>
                    <!--theoretically those related words can have their own nested relations etc.-->
                </relatedword>
            </rel>
        </W2>
        <!--Another way how to define relation is to define related word ad pair level-->
        <rel rel="phrase"><!--The <rel> element used in this context-->
            <!--can have child only of type <relatedword>-->
            <relatedword><!--which can also contain everything that can be contained in the <pair> element-->
                <W1 N="není po něm vidu ani slechu" type="phrase"/>
                <W2 N="nema mu ni traga ni glasa" type="phrase"/>
                <!--It menas that in this plase the <rel> element can be used to create nested relation-->
            </relatedword>
        </rel>
        <!--This way  of creating relations prevents duplicates-->
        <!--Each rel/relatedword/W1 is related to each ./W1 and each rel/relatedword/W2 to each ./W2-->
    </pair>
</Dictionary> 
